UkrSolution\BarcodeScanner\API\actions\CartScannerActions D

Total Complexity 357
Dependencies 13
Dependents 2
Total lines 1,459
Lines of code 1,087
Logical lines of code 702
Comment lines 0
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
orderCreate()
D
2
125 368
addItem()
D
32 37 84
getCartDetails()
D
27
31 135
addItemToCart()
D
32 31 99
updateQuantity()
C
35 26 70
findProductInCart()
B
44 24 40
updateAttributes()
A
46 13 34
cartRecalculate()
A
38 11 64
itemSetPrice()
A
48 11 29
getWcCheckoutErrors()
A
56 8 18
setOrderTotal()
S
59 8 13
getCartRecords()
S
51 7 24
formatPriceForUpdate()
S
56 5 19
getCartItems()
S
57 5 17
cartClear()
S
55 4 18
wcSession()
S
63 3 11
removeItem()
S
57 2 16
conditionally_send_wc_email()
S
66 2 9
getWcErrors()
S
82 1 3
initFieldPrice()
S
79 1 3
getStatuses()
S
69 1 7
changeQuantityInCart()
S
69 1 6